/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.letmeshare.stockkeeper.view.dashboard;

import java.awt.Component;
import java.awt.HeadlessException;
import javax.swing.JFrame;
import javax.swing.JPanel;

/**
 *
 * @author abin
 */
public class ViewContainer extends JPanel{

    public ViewContainer() throws HeadlessException {
       
    }
    public void setView(Component component){
        clear();
        add(component);
        
    }
    public void clear(){
        this.clear();
    }
    
    
}
